package com.antrain.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author antrain
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Checkapply implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历ID
     */
    @TableField("MedicalID")
    private Integer MedicalID;

    /**
     * 挂号ID
     */
    @TableField("RegistID")
    private Integer RegistID;

    /**
     * 项目ID
     */
    @TableField("ItemID")
    private Integer ItemID;

    /**
     * 项目名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 目的要求
     */
    @TableField("Objective")
    private String Objective;

    /**
     * 检查部位
     */
    @TableField("Position")
    private String Position;

    /**
     * 是否加急 1为加急 0为不加急
     */
    @TableField("IsUrgent")
    private Integer IsUrgent;

    /**
     * 数量
     */
    @TableField("Num")
    private Integer Num;

    /**
     * 开立时间
     */
    @TableField("CreationTime")
    private LocalDateTime CreationTime;

    /**
     * 开立医生ID
     */
    @TableField("DoctorID")
    private Integer DoctorID;

    /**
     * 检查人员ID
     */
    @TableField("CheckOperID")
    private Integer CheckOperID;

    /**
     * 结果录入人员ID
     */
    @TableField("ResultOperID")
    private Integer ResultOperID;

    /**
     * 检查时间
     */
    @TableField("CheckTime")
    private LocalDateTime CheckTime;

    /**
     * 检查结果
     */
    @TableField("Result")
    private String Result;

    /**
     * 结果时间
     */
    @TableField("ResultTime")
    private LocalDateTime ResultTime;

    /**
     * 状态
     */
    @TableField("State")
    private Integer State;

    /**
     * 记录类型 1-检查 2-检验 3-处置
     */
    @TableField("RecordType")
    private Integer RecordType;


}
